package com.gomokult.entity;
/**
 * 用户类
 * @author 王沛哲
 */
public class User {
	private int userID;		//编号
	private String nickname;	//昵称
	private String password;	//密码
	private String profile;	//个人简介
	private String email;	//电子邮箱
	private int score;		//分数
	private int winGames;	//胜场数
	private int totalGames;	//总场数

	
	/**
	 * 无参构造
	 */
	public User() {
		super();
	}


	/**
	 * 全参构造
	 */
	public User(int userID, String nickName, String password, String profile, String email, int score, int winGames,
			int totalGames) {
		super();
		this.userID = userID;
		this.nickname = nickName;
		this.password = password;
		this.profile = profile;
		this.email = email;
		this.score = score;
		this.winGames = winGames;
		this.totalGames = totalGames;
	}
	
	/**
	 * 缺省构造
	 */
	public User(String nickName, String password, String profile, String email, int score, int winGames, int totalGames) {
		this.nickname = nickName;
		this.password = password;
		this.profile = profile;
		this.email = email;
		this.score = score;
		this.winGames = winGames;
		this.totalGames = totalGames;
	}

	/**
	 * 生成get/set方法
	 * @return
	 */
	public int getUserID() {
		return userID;
	}


	public void setUserID(int userID) {
		this.userID = userID;
	}


	public String getNickName() {
		return nickname;
	}


	public void setNickName(String nickName) {
		this.nickname = nickName;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public String getProfile() {
		return profile;
	}


	public void setProfile(String profile) {
		this.profile = profile;
	}


	public String getEmail() {
		return email;
	}


	public void setEmail(String email) {
		this.email = email;
	}


	public int getScore() {
		return score;
	}


	public void setScore(int score) {
		this.score = score;
	}


	public int getWinGames() {
		return winGames;
	}


	public void setWinGames(int winGames) {
		this.winGames = winGames;
	}


	public int getTotalGames() {
		return totalGames;
	}


	public void setTotalGames(int totalGames) {
		this.totalGames = totalGames;
	}
	
	
}
